package com.css.vo;

import java.util.Set;

/**
 * Car entity. @author MyEclipse Persistence Tools
 */

public class Car implements java.io.Serializable {

	// Fields

	private Integer carId;
	private String carModel;
	private String version;
	private String year;
	private String color;
	private Double price;
	private Integer stock;
	private String status;

	// private Set customers = new HashSet(0);
	// private Set sales = new HashSet(0);

	// Constructors

	/** default constructor */
	public Car() {
	}

	/** minimal constructor */
	public Car(Integer carId, String carModel, String version, String year,
			String color, Double price, Integer stock, String status) {
		this.carId = carId;
		this.carModel = carModel;
		this.version = version;
		this.year = year;
		this.color = color;
		this.price = price;
		this.stock = stock;
		this.status = status;
	}

	/** full constructor */
	public Car(Integer carId, String carModel, String version, String year,
			String color, Double price, Integer stock, String status,
			Set customers, Set sales) {
		this.carId = carId;
		this.carModel = carModel;
		this.version = version;
		this.year = year;
		this.color = color;
		this.price = price;
		this.stock = stock;
		this.status = status;
		// this.customers = customers;
		// this.sales = sales;
	}

	// Property accessors

	public Integer getCarId() {
		return this.carId;
	}

	public void setCarId(Integer carId) {
		this.carId = carId;
	}

	public String getCarModel() {
		return this.carModel;
	}

	public void setCarModel(String carModel) {
		this.carModel = carModel;
	}

	public String getVersion() {
		return this.version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getYear() {
		return this.year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getColor() {
		return this.color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getStock() {
		return this.stock;
	}

	public void setStock(Integer stock) {
		this.stock = stock;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	// public Set getCustomers() {
	// return this.customers;
	// }
	//
	// public void setCustomers(Set customers) {
	// this.customers = customers;
	// }
	//
	// public Set getSales() {
	// return this.sales;
	// }
	//
	// public void setSales(Set sales) {
	// this.sales = sales;
	// }

}